#include<stdio.h>


int main()
{
	int i = 520;

	printf("before, i = %d\n",i);

	for(int i = 0; i < 10; i++)//for内定义的i,局部变量,仅作用于for
	{
	
		printf("%d\n",i);//for的i

	}
		printf("after, i = %d\n",i);//main函数的局部变量i
		
		return 0;
}
